﻿<!doctype html>
<html>
<head>
    <meta charset="gbk">
    <title>Tinygrass生活博客</title>
    <meta name="keywords" content="个人博客,小草个人博客,个人博客模板,Tinygrass" />
    <meta name="description" content="Tinygrass个人生活博客" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="../../css/base.css" rel="stylesheet">
    <link href="../../css/index.css" rel="stylesheet">
    <link href="../../css/info.css" rel="stylesheet">
    <link href="../../css/m.css" rel="stylesheet">
    <script src="../../js/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/hc-sticky.js"></script>
    <script type="text/javascript" src="../../js/comm.js"></script>
    <!--[if lt IE 9]>
    <script src="js/modernizr.js"></script>
    <![endif]-->
</head>
<body>
    <header class="header-navigation" id="header">
        <nav>
            <div class="logo"><a href="/">Tinygrass个人博客</a></div>
            <h2 id="mnavh"><span class="navicon"></span></h2>
            <ul id="starlist">
                <li><a href="/index.html">网站首页</a></li>
                <li><a href="/MyAlbum.html">我的相册</a></li>
                <li><a href="/MyWriting.html">我的日记</a></li>
                <li><a href="/aboutMe.html">关于我</a></li>
                <li><a href="/leaveWord.html">留言</a></li>
            </ul>
        </nav>
    </header>
    <article>
        <aside>
            <div class="l_box">
                <div class="search">
                    <form action="/e/search/index.php" method="post" name="searchform" id="searchform">
                        <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
                        <input name="show" value="title" type="hidden">
                        <input name="tempid" value="1" type="hidden">
                        <input name="tbname" value="news" type="hidden">
                        <input name="Submit" class="input_submit" value="搜索" type="submit">
                    </form>
                </div>
                <div class="fenlei">
                    <h2>文章分类</h2>
                    <ul>
                        <li><a href="/">学无止境（33）</a></li>
                        <li><a href="/">日记（19）</a></li>
                        <li><a href="/">慢生活（520）</a></li>
                        <li><a href="/">美文欣赏（40）</a></li>
                    </ul>
                </div>
                <div class="tuijian">
                    <h2>站长推荐</h2>
                    <ul>
                        <li><a href="/">你是什么人便会遇上什么人</a></li>
                        <li><a href="/">帝国cms 列表页调用子栏目，没有则不显示栏目名称</a></li>
                        <li><a href="/">第二届 优秀个人博客模板比赛参选活动</a></li>
                        <li><a href="/">个人博客模板《绅士》后台管理</a></li>
                        <li><a href="/">你是什么人便会遇上什么人</a></li>
                        <li><a href="/">帝国cms 列表页调用子栏目，没有则不显示栏目名称</a></li>
                        <li><a href="/">第二届 优秀个人博客模板比赛参选活动</a></li>
                        <li><a href="/">个人博客模板《绅士》后台管理</a></li>
                    </ul>
                </div>
                <div class="cloud">
                    <h2>标签云</h2>
                    <ul>
                        <a href="/">陌上花开</a>
                        <a href="/">校园生活</a>
                        <a href="/">html5</a>
                        <a href="/">SumSung</a>
                        <a href="/">青春</a>
                        <a href="/">温暖</a>
                        <a href="/">阳光</a>
                        <a href="/">三星</a>
                        <a href="/">索尼</a>
                        <a href="/">华维荣耀</a>
                        <a href="/">三星</a>
                        <a href="/">索尼</a>
                    </ul>
                </div>
                <div class="guanzhu">
                    <h2>关注我 么么哒</h2>
                    <ul>
                        <img src="../../images/wx.jpg">
                    </ul>
                </div>
            </div>
        </aside>
        <div class="infosbox">
            <div class="newsview">
                <h3 class="news_title">2020日志</h3>
                <div class="bloginfo">
                    <ul>
                        <li class="author">作者：<a href="/">Tinygrass</a></li>
                        <li class="lmname"><a href="/">学无止境</a></li>
                        <li class="timer">时间：2019-12-29</li>
                        <li class="view">4567人已阅读</li>
                    </ul>
                </div>
                <div class="tags">
                    <a href="/" target="_blank">个人博客</a>
                    &nbsp; <a href="/" target="_blank">立志</a>
                    &nbsp; <a href="/" target="_blank">有恒</a>
                </div>
                <div class="news_about">
                    <strong>简介</strong>
                    2020日志
                </div>
                <div class="news_con">
                    2020-01-03 | 周五 | 佛山 | 阳光好<br>
                    <br>
                    心有所止，立志有恒！<br>
                    <br>
                    <img alt="" src="http://image.tinygrass.tech/background/%E4%B8%8D%E8%A2%AB%E5%98%B2%E7%AC%91%E7%9A%84%E7%9B%AE%E6%A0%87%E5%A4%AA%E5%B0%8F.jpg"><br>
                    <br>
                    2020-01-01 | 周三 | 佛山 | 阳光好<br>
                    <br>
                    忙碌过后，尽是空虚！<br>
                    <br>
                    <img alt="" src="http://image.tinygrass.tech/background/%E5%85%B3%E6%B3%A8%E9%97%AE%E9%A2%98%E6%9B%B4%E5%A4%9A%E9%97%AE%E9%A2%98%E5%85%B3%E6%B3%A8%E5%8F%AF%E8%83%BD%E6%9B%B4%E5%A4%9A%E5%8F%AF%E8%83%BD.jpg"><br>
                    <br>
                    <br>
                    &nbsp;
                </div>
            </div>
            <div class="share">
                <p class="diggit">
                    <a href="JavaScript:makeRequest('/e/public/digg/?classid=3&amp;id=19&amp;dotop=1&amp;doajax=1&amp;ajaxarea=diggnum','EchoReturnedText','GET','');"> 很赞哦！ </a>(<b id="diggnum">
                        <script type="text/javascript" src="/e/public/ViewClick/?classid=2&id=20&down=5"></script>13
                    </b>)
                </p>
            </div>
            <div class="nextinfo">
                <p>上一篇：<a href="/news/life/2018-03-13/804.html">作为一个设计师,如果遭到质疑你是否能恪守自己的原则?</a></p>
                <p>下一篇：<a href="/news/life/">返回列表</a></p>
            </div>
            <div class="news_pl">
                <h2>文章评论</h2>
                <ul>
                    <div class="gbko"> </div>
                </ul>
            </div>
        </div>
    </article>
    <footer>
        <p>Design by <a href="http://www.tinygrass.tech" target="_blank">Tinygrass个人博客</a> <a href="/">粤ICP备18089031号-2</a></p>
    </footer>
    <a href="#" class="cd-top">Top</a>
    <script>
        $(function () {
            $.ajax({
                url: "../MyWriting.txt",
                async: false,//同步方式获取
                success: function (data, textStatus, jqXHR) {
                    var datas = JSON.parse(data);
                    updatePicList(datas);
                }
            });
        });

        function updatePicList(datas) {
            // 设置主列表
            //var html = template("itemWriting", { writings: datas.writings });
            //$(".r_box").html(html);
            // 设置推荐列表
            var html2 = "";
            $.each(datas.recommands, function (index, item) {
                html2 += '<li><a href="' + item.url + '">' + item.title + '</a></li>';
            });
            $(".tuijian>ul").html(html2);
        }

    </script>
</body>
</html>
